package com.zh.yqbj.exception.accountExcption;

import com.zh.yqbj.constant.ExceptionCodeConstant;

public class DuplicateEmailException extends Exception {

    private static final String MSG = "该邮箱已被绑定,请更换邮箱后重试,";

    public DuplicateEmailException() {
        super(MSG + ExceptionCodeConstant.DUPLICATE_EMAIL_ERROR_CODE);
    }

    public DuplicateEmailException(String msg) {
        super(msg + ExceptionCodeConstant.DUPLICATE_EMAIL_ERROR_CODE);
    }
}
